﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace 药品信息管理
{
    public partial class YK_YFKCX : Form
    {
        db _db = new db();
        public YK_YFKCX()
        {

            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {

            db db1 = new db();
            string sql2 = "select RKDH 入库单号,YPBM 药品编码,YFJE 应付金额, FKRQ 付款日期 from YK_RKD1 where RKDH ='" + txtNumber.Text+ "'";
            dataGridViewX1.DataSource = db1.sqldt(sql2);
            

        }



    }
}